package com.ks.community.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ks.community.entity.Ingredient;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Picker
 * @date 2022/3/29 16:49
 */
@Data
public class MenuVo {


    private String userId;
    @ApiModelProperty(value = "菜谱名称")
    private String menuName;

    @ApiModelProperty(value = "耗时")
    private Integer costTime;

    @ApiModelProperty(value = "菜谱步骤")
    private String menuStep;

    @ApiModelProperty(value = "菜谱图片")
    private String menuImg;

    @ApiModelProperty(value = "食材列表")
    @TableField(exist = false)
    List<Ingredient> ingredients;

}
